package com.ly.demo.smsriskmanager;

/**
 * 缓存常量
 *
 * @param
 * @Des
 * @Date 2021/6/10 15:38
 * @return
 */
public class RedisConstant {

    /**
     * 短信业务编码
     */
    public static final String PHONE__USER_LOGIN_CODE = "USER:LOGIN:CODE:";

    /**
     * 短信业务编码缓存时间 10分钟
     */
    public static final Long PHONE__USER_LOGIN_CODE_TIME = 10L;

    /**
     * 短信业务风控单条间隔编码
     */
    public static final String PHONE__SMS_INTERVAL_CODE = "SMS:INTERVAL:CODE:";

    /**
     * 短信业务编码单条间隔时间 1分钟
     */
    public static final Long PHONE__SMS_INTERVAL_CODE_TIME = 1L;

    /**
     * 短信业务风控记录list编码
     */
    public static final String PHONE__SMS_LIST_CODE = "USER:SMS:LIST:CODE:";

    /**
     * 短信业务编码单位时间内小时内最大条数
     */
    public static final Long PHONE__SMS_MAX_CODE_NUM = 10L;

}
